//
//  JFTDES.h
//  JftMergeSDK
//
//  Created by zhl on 2017/2/8.
//  Copyright © 2017年 HLZ. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface JFTDES : NSObject
///// 加密方法
//+ (NSString *) encryptUseDES:(NSString *)plainText key:(NSString *)key;
//
///// 解密方法
//+ (NSString *) decryptUseDES:(NSString *)plainText key:(NSString *)key;
//
//+ (NSString *) encryptDES:(Byte *)srcBytes key:(NSString *)key useEBCmode:(BOOL)useEBCmode;
// encode
+ (NSString *)encodeToPercentEscapeString: (NSString *) input;

+ (NSString*)md532BitUpper:(NSString*)inPutText;
+ (NSString*)md532BitLower:(NSString *)inPutText;


+(NSString*)encryptWithContent:(NSString*)content type:(int)type key:(NSString*)aKey;
+(NSString *)replacenormalcharacter:(NSString *)normalcharacterstr;
+(NSString *)replacespecialcharacter:(NSString *)specialcharacterstr;
@end
